package com.yuke.cloud.service.wmc.dao;

import com.yuke.cloud.common.core.mybatis.MyMapper;
import com.yuke.cloud.service.api.wmc.dto.WarehouseInfoDto;
import com.yuke.cloud.service.wmc.entity.WmsWarehouse;
import com.yuke.cloud.service.wmc.entity.WmsWarehouseGroup;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface WmsWarehouseGroupMapper extends MyMapper<WmsWarehouseGroup> {
    Long findGroupId(Long aLong);

    List<Map> findgroupid2(@Param("list") List<WmsWarehouse> wmsWarehouses);

    void batchDeletebywarehouseids(@Param("list") List<Long> ids);

    List<Map> findwarehouseandaddress(@Param("list") List<WmsWarehouse> wmsWarehouses);

    List<WarehouseInfoDto> getWarehouseInfoByGroupId(@Param("groupId") Long groupId);
}